with the benefit of hindsight

Translations
avec le recul
Definitions
A phrase used to indicate that one can understand a situation more clearly or make better judgments about it after it has already happened, often implying that the outcome was not obvious at the time.